import request from '@/utils/request'

// 查询著作权信息集列表
export function listCopyright(query) {
  return request({
    url: '/teacher/copyright/list',
    method: 'get',
    params: query
  })
}

// 查询著作权信息集详细
export function getCopyright(recordid) {
  return request({
    url: '/teacher/copyright/' + recordid,
    method: 'get'
  })
}

// 新增著作权信息集
export function addCopyright(data) {
  return request({
    url: '/teacher/copyright',
    method: 'post',
    data: data
  })
}

// 修改著作权信息集
export function updateCopyright(data) {
  return request({
    url: '/teacher/copyright',
    method: 'put',
    data: data
  })
}

// 删除著作权信息集
export function delCopyright(recordid) {
  return request({
    url: '/teacher/copyright/' + recordid,
    method: 'delete'
  })
}

// 导出著作权信息集
export function exportCopyright(query) {
  return request({
    url: '/teacher/copyright/export',
    method: 'get',
    params: query
  })
}